package com.ny.demo0515;

public class Emp {

    private String number;
    private String name;
    private int age;
//选择getter and setter 也是一样的,只是不能同时生成3个
    @Override
    public String toString() {
        return "Emp{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
